This is a sprite animation that responds to movie time and real time.

The ball bounces in real time, but changes color in movie time.

If you pause the movie, the ball stops changing color, but it keeps bouncing.